package team.pikachu.pikachuclient.utils;

import android.support.design.widget.Snackbar;
import android.view.View;

/**
 * Created by Alex on 2017/9/12.
 */

public class LogUtil {
    @SuppressWarnings("unchecked")
    public static String makeLogTag(Class cls) {
        return "Pikachu_" + cls.getSimpleName();
    }

    /**
     * 获取提示框
     * @param view
     */
    public static Snackbar getSnackbar(View view, String msg){
        return Snackbar.make(view,msg,Snackbar.LENGTH_LONG);
    }
}
